package com.ruoyi.labsafety.domain;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;
import com.ruoyi.labdata.domain.LabFile;

/**
 * 安检检查任务指标项对象 lab_safety_check_task_index_item
 * 
 * @author jun.wang
 * @date 2022-04-25
 */
public class LabSafetyCheckTaskIndexItem extends TreeEntity<LabSafetyCheckTaskIndexItem>
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 安检任务ID */
    @Excel(name = "安检任务ID")
    private Long instanceId;

    /** 指标ID */
    @Excel(name = "指标ID")
    private Long indexId;

    /** 指标项ID */
    @Excel(name = "指标项ID")
    private Long indexItemId;

    /** 删除标识（0-正常，1-删除） */
    @Excel(name = "删除标识", readConverterExp = "0=-正常，1-删除")
    private Integer status;
    
    private String remark;
    
    public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	/***
     * 检查标识.
     */
    private Integer checkedStatus;

    private Integer syncStatus;

    private String itemNo;

    public Integer getSyncStatus() {
        return syncStatus;
    }

    public void setSyncStatus(Integer syncStatus) {
        this.syncStatus = syncStatus;
    }

    public Integer getCheckedStatus() {
		return checkedStatus;
	}

    public String getItemNo() {
        return itemNo;
    }

    public void setItemNo(String itemNo) {
        this.itemNo = itemNo;
    }

    public void setCheckedStatus(Integer checkedStatus) {
		this.checkedStatus = checkedStatus;
	}

	/** 存在隐患（0-无， 1-有） */
    @Excel(name = "存在隐患", readConverterExp = "0=-无，,1=-有")
    private Integer hiddenDanger;

    private String indexName;
    private String name;
    private String spec;

    private List<LabFile> files;

    public List<LabFile> getFiles() {
        return files;
    }

    public void setFiles(List<LabFile> files) {
        this.files = files;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInstanceId(Long instanceId) 
    {
        this.instanceId = instanceId;
    }

    public Long getInstanceId() 
    {
        return instanceId;
    }
    public void setIndexId(Long indexId) 
    {
        this.indexId = indexId;
    }

    public Long getIndexId() 
    {
        return indexId;
    }
    public void setIndexItemId(Long indexItemId) 
    {
        this.indexItemId = indexItemId;
    }

    public Long getIndexItemId() 
    {
        return indexItemId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setHiddenDanger(Integer hiddenDanger) 
    {
        this.hiddenDanger = hiddenDanger;
    }

    public Integer getHiddenDanger() 
    {
        return hiddenDanger;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("instanceId", getInstanceId())
            .append("indexId", getIndexId())
            .append("indexItemId", getIndexItemId())
            .append("status", getStatus())
            .append("hiddenDanger", getHiddenDanger())
            .toString();
    }
}
